package com.meteor.user.convert;

import com.meteor.user.entity.SysMerchant;
import com.meteor.user.vo.SysMerchantVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysMerchantConvert {

    SysMerchantConvert INSTANCE = Mappers.getMapper(SysMerchantConvert.class);

    SysMerchant convert(SysMerchantVO vo);

    SysMerchantVO convert(SysMerchant entity);

    List<SysMerchantVO> convertList(List<SysMerchant> list);

}
